package vn.demand.dragon.controller
{
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	import vn.demand.dragon.model.ReferenceProxy;
	
	public class RemoveReferenceCommand extends SimpleCommand
	{
		override public function execute( note:INotification ) :void    
		{
			var reference:Object = note.getBody();
			var proxy:ReferenceProxy = facade.retrieveProxy(ReferenceProxy.NAME) as ReferenceProxy
			proxy.remove(reference);
        }
	}
}